﻿using System;

class Archer : Unit 
{
    public Archer(string ownerinput, int amountinput)
    {
        amount = amountinput;
        owner = ownerinput;
        hp = 20;
        att = 30;
        def = 12;
        name = "A";
        range = 4;
        movement = 1;
        curHP = hp * amount;
        if (owner == "P1")
        {
            currentX = 1;
            currentY = 5;
        }
        else
        {
            currentX = 15;
            currentY = 5;
        }
    }
}

